Welcome to Blob Sculptor for the Mac OS, a simple freeware 3-D CAD application for quickly creating 3-D "blob" or metaball objects. What is a "blob", and why would anyone want to sculpt one? As a way to avoid a thousand words, here is a picture of a simple blob, designed with Blob Sculptor MacOS, and then exported and rendered with the freeware ray tracer, POV-Ray MacOS:
This software and the following notes assume that you already know a little bit about what a 3-D CAD modeler is, and what a renderer or ray tracer is, and what blobs are, so we won't cover that ground much here. Well, maybe a quick glossary of terms won't hurt :-)
Glossary
Blob or Metaball: A mathematical surface, described by a field that flows over and envelops multiple components of a complex shape, much like a shape created by pouring honey over a bunch of little marbles. These shapes are not easy to grasp until you play with them a little. Don't worry if it all sounds vague and fuzzy for now.
3-D CAD Modeler: A software application that lets you create, move and resize 3-D shapes, using a standard 3-view drafting style display (looking at your work from the top, front, and side.)
Renderer or Ray Tracer: A software application that reads a 3-D file created by a 3-D CAD modeler or other utility (or by hand) and creates a picture/image that looks photo-realistic, with lighting, textures, and shadows.
POV-Ray: A freeware ray tracer written by the POV-Ray Team (http://ourworld.compuserve.com/homepages/povraymac, http://www.povray.org). It is currently available on many platforms, including Macintosh, IBM PC, Amiga, VAX, Cray, Unix, Sun, etc.
Polyray: A shareware ray tracer written by Alexander Enzmann (70323.2461@compuserve.com). It is currently only available for the IBM PC, although a Macintosh version was once written long ago.
QuickDraw3D: Free add-on software for MacOS and MSWindows from Apple that enables the display of 3-D model data in software, even in SimpleText and the Scrapbook.
3DMF file format: A file format used by QuickDraw3D to store its 3-D model information.
RAW file format: A simple 3-D surface file format in text file format, used by some software to exchange complex surface data. It consists of a list of triangle coordinates, one set of triangle vertices per line, each separated by space characters, The whole file describes a surface as a triangle mesh. For example, if a Raw file had two triangles, T1 and T2, consisting of the coordinates: T1<x1,y1,z1> T1<x2,y2,z2> T1<x3,y3,z3> , and T2<x1,y1,z1> T2<x2,y2,z2> T2<x3,y3,z3>, then the file would be in the the following order:
T1x1 T1y1 T1z1 T1x2 T1y2 T1z2 T1x3 T1y3 T1z3
T2x1 T2y1 T2z1 T2x2 T2y2 T2z2 T2x3 T2y3 T2z3
An example RAW file that contains two triangles:
0.04 0.03 -0.07 -0.01 0.01 -0.09 -0.01 0.05 -0.05
0.04 -0.04 0.09 0.1 -0.1 0.09 0.1 0.01 0.09
DXF file format: Another 3-D surface file format in text file format, invented by AutoDesk (creators of AutoCAD), and used by more 3-D software to exchange complex surface data.
Introduction
You can design blobs in Blob Sculptor's 3-D CAD-like environment, and even get a quick wireframe preview of how the blob components will melt together to make the final blobby object. Finally, you can export your creation to one of several 3-D object file formats (POV-Ray, PolyRay, DXF, RAW, QuickDraw3D 3DMF.) The BlobSculptor file format (".BLB" file) itself is 100% compatible with the MS-DOS version of BlobSculptor, so you can read and edit existing ".BLB" files as well.
The original Blob Sculptor application is authored by Alfonso Hermida and Steve Anger on MS-DOS, and this is a Mac OS conversion of their original work, with their permission of course.
System Requirements
Blob Sculptor is a "Fat" application, so it runs native on any PowerPC, and on any 68020 or better with a floating point unit (FPU.) Nobody makes anything less than a 68020 anymore, but there are still lots of existing machines without FPUs, so I have included a separate 68020 non-FPU version of the application in case you are using one of these computers. Note that BlobSculptor will work adequately on a non-FPU computer, but the preview display will be painfully slow. All versions of Blob Sculptor require System 7 or better. Neither QuickTime nor QuickDraw 3D are needed to run this software, but QuickDraw3D is required if you wish to export models in 3DMF format on your PowerPC.
How to Use it
Run the application, and click or press a key to dismiss the splash screen. The splash screen will automatically close after a few seconds if you do nothing. You have a new untitled Blob Sculptor window. Like any Macintosh application, this window displays your work, and you can save it to a file and open existing blob files and edit them in this window. You can only have one window open at a time, so you will need to close any open window before opening another window.
In this window, there are three main views and an isometric (camera) view, and off to the side is an information (Info) view.
The Top view gives you a top-down view of the work area. The Front view gives you a head-on view, and the Side view gives you a view from the right side. The Isometric view gives an oblique wireframe (or camera) view, at an angle you can choose. The Info view gives statistics on the blob file, how many blob components you have added, and information on the currently selected component.
A little terminology
Blobs are made up of components, in this case, individual spheres. Each component has an X,Y,Z center position, a radius (or size), and a strength. Its strength tells it how much it will ooze out toward other components. If its strength is negative, it will actually repel the surface of nearby components instead, denting their surfaces away from it instead of pulling them toward it. Also, negative components don't show up themselves, they just dent nearby components. Positive-strength components are shown in white, negative-strength components are in tomato-soup-red, and the currently-selected component is in yellow. An axis is also displayed in each view. The length of each axis line is one unit, so for example, the red line along the X axis goes from X=0, Y=0, Z=0, to X=1, Y=0, Z=0.
Opening a .BLB model file
You can open an existing blob model file by choosing Open from the File menu, and choosing any .BLB file.
Note 1: If you are trying to open a .BLB file that was created on an MS-DOS machine, it may not have the correct MacOS file type ('BLOB'.) You can force Blob Sculptor to show all available text files by holding down the <option> key while choosing the Open menu command.
Note 2: There is an MS-Windows version of Blob Sculptor, but its file format is not compatible with the MS-DOS version or the MacOS version.
Adding new blob components
Note: Many of the following commands only work in the main views (Front/Top/Side.)
You can add blob components by choosing Create from the Commands menu, and dragging out a sphere. A shortcut to this is to simply hold down the option key, and drag out spheres. The cursor will change to the "Add" cursor during component creation.
Selecting a component
Some of the commands we will describe next work on the currently selected component, so you need to know how to select one. You can select a component by clicking on it near its edge in any of the three main views. Once a component is selected, it is shown in yellow, and you can select the next/previous component by pressing the <tab> & <option>-<tab> key. You can press the space bar to de-select the component.
Moving
To Move a component to a different spot, select it, then choose Move from the Commands menu, then drag it to another location. You can also just click in the new location, and the component will move its center where you clicked.
Resizing
To Resize a component, select it, then choose Resize from the Commands menu, then drag out a new radius size for it.
Copying
To Duplicate a component, select it, then choose Duplicate from the Edit menu. Now two components will occupy the same spot, and you can see only one. Click on the component to select it, and move or resize it, and you'll see the other one under it.
Mirroring
Mirroring a component is a special kind of copy. It will duplicate the selected component, but place the new copy in a position across one of the axes from the original. You can mirror a component on the X axis, Y axis, or Z axis. If you think of each axis as a line going into a mirror, this will help you visualize where the new component will go.
If a component is mirrored on the X axis, its copy will be positioned along the X axis but on the other side of the Y and Z axes. For example, if a component is at +3 X, the new mirrored copy will be slid along the X axis to -3 X, and its Y and Z positions will be the same as the original.
If a component is mirrored on the Y axis, its copy will be positioned along the Y axis, but on the other side of the X and Z axes.
If a component is mirrored on the Z axis, its copy will be positioned along the Z axis, but on the other side of the X and Y axes.
Note: The selection moves to the newly copied component, so if you made a mistake in mirroring, you can immediately hit the Delete key and the newly mirrored component will be removed.
Deleting
To Delete a component, select it, then hit the Delete key.
Change Strength
To Change a component's strength, select it, then choose Set Strength from the Commands menu. Positive strength values make the surfaces of components attract each other and flow together. Negative strengths repel, and make the surfaces of components avoid each other.
Change Blob's Threshold value
The Threshold value of a blob sets how blobby the components act toward each other. A larger threshold means that the components need to be stronger or closer to attach, so they "dry up" and don't melt out toward each other as much. Smaller threshold values tend to make the blob larger and more rounded. To change the overall threshold value for the entire blob file, choose Set Threshold from the Commands menu.
Preview the Blob
To see a preview of the final blob in a 3-D wireframe display, choose Show Preview from the View menu. Choose it again to return to CAD display.
Level Of Detail
If you have a faster Macintosh and want to see a finer mesh in Preview mode, you can choose Level Of Detail from the Commands menu, and increase the level of detail. A value of 5 gives a fast but rather chunky and inaccurate preview. A value of 15 is slower but gives reasonable results. 40 is very detailed, and rather slow, even on a PowerPC. For day-to-day use on 68K Macs, you will likely want to use 5-10. For PowerPC Macs, you'll probably want 15-25.
Note 1: Level Of Detail will affect how objects are exported. See the Exporting section below for more information.
Note 2: You can have the best of both worlds if you are running on a fast PowerPC. If you choose Iso Preview from the View menu, the wireframe will change to display the full preview instead. Choosing it again will return the Iso display to the faster wireframe display.
Show Grid
To toggle grid line display on and off, choose Show Grid from the View menu.
Snap to Grid
To toggle the "grid snap" on and off, choose Snap to Grid from the View menu. When it is on, components will snap to sizes even with grid lines.
Zoom in/out
To change how close your camera is to the views, choose Zoom in or Zoom out from the View menu. Zoom out moves you away from the center of the views, and Zoom in moves you closer. This affects all the views, including the Preview. It will change how much of the model you can see, but it does not change the model data itself. It will still export at the same size and position.
Center a View
Choose Center View from the View menu, and click on a spot in one of the main views. The view will slide over so that where you clicked will now be shown in the exact center of that view. This can be repeated to pan the view around. Changing the center of any one view has no effect on the other two views.
Changing Angle of View
To change the camera angle of the Isometric and Preview views, choose Set Camera Pos from the View menu. You'll see a circle around a small top-down view of the axis.
Click anywhere on the circle, and the black line will move to the clicked spot. This moves the camera to that spot, looking in toward the center. Click the OK button, and you will see the new view angle displayed in the isometric view. If you choose Preview, it too will be shown from this new angle. Currently you can only change the view angle around the scene, you cannot move the camera up or down. It is permanently fixed looking down at 20 degrees toward the origin.
Note 1: There is a new quick way to rotate the camera around the origin (still looking toward the center) in 10 degree increments. Just press the left arrow key to rotate to the left, or the right arrow key to rotate to the right. This also works while you are in preview mode.
Note 2: Changing the camera view will also change the exported camera view in POV-Ray and Polyray. This assures that you are seeing the object from the same angle as you were in Blob Sculptor.
Saving your Blob file
To Save your work, choose Save from the file menu, and choose a file name and a spot to save it on your disk. It will be saved as a .BLB file. See the section "MSDOS Compatibility" below if you want to share your blob file with the MSDOS version of Blob Sculptor.
Exporting your Blob file
To write your blob file to some other program's file format, choose one of the "Export to..." items from the file menu, and choose a file name and a spot to save it on your disk. Currently, you can export to POV-Ray ray tracer scene file format, Polyray ray tracer scene file format, DXF text (3DFACE) format, RAW triangle file format (triangle mesh), and QuickDraw3d 3DMF file format. POV-Ray and Polyray support blobs directly, so there is no loss in quality for exporting. DXF, RAW, and 3DMF convert the shape into a mesh of interconnected flat triangles, using the current level of detail setting (see Note 1 below.)
Note 1: To change how detailed the exported mesh will be for DXF, RAW and 3DMF formats, first change the "Level of Detail" under the Commands menu. POV-Ray and Polyray export ignore "Level of Detail." They create high-quality smooth surfaces regardless of its setting. Larger numbers for Level of Detail will create more accurate, finer-meshed shapes. However, this will also increase the number of triangle-facet objects in the exported file, and thus make the file much larger. This increase in quality and file size could slow down the import, display, and rendering of the shape in the modeler you have imported it into. For example, setting the Level of Detail on a fairly simple 10-component blob yielded the following results:
Level of Number of File Size
Detail triangles KBytes
-------- --------- ---------
10 600 40
20 2588 165
30 5912 370
40 10864 680
Note 2: Holding down the <option> key when choosing 3DMF export will write to a "text" 3DMF format file, as opposed to the default binary file format. This text format should not be needed, as all modelers prefer the binary format for importing.
Note 3: Holding down the <option> key when choosing POV-Ray export will write to an older version-2 format file, as opposed to the default version-3 file format. The version-2 file format would only be needed if you are using an older version of POV-Ray.
MS-DOS Compatibility
Note that blob files are usually saved with a '.BLB' suffix on them. It is not necessary to keep this suffix when working with them on the Mac. But you will need to have it if you want to share the files with your MS-DOS friends. Note also in the File menu, there is a menu item called "Use MSDOS Format". If you choose this, a checkmark will appear by it, and any files you SAVE or EXPORT will be MS-DOS-format text files instead of Mac OS-format text files. This is useful if you will be using these saved files on MS-DOS computers. Blob Sculptor Mac OS can read both MacOS and MS-DOS format BLB files just fine, whether the "Export..." menu item is checked or not. Turning on this menu item is only useful for changing how files are exported, not how they are read.
Bug Reports
Please use the following form if you wish to e-mail reports of Macintosh-specific bugs or problems. Just copy & paste this text into an e-mail, and fill it out. Try to give as much useful information as possible. Please don't e-mail large files... if you must send an example, try to create a very small one that exhibits the problem & attach it (via Stuffit & Binhex) to the bug-report e-mail. Put "BSM bug report" in the subject line, and e-mail it to:
esp Software
CIS: 71513,2161 or
Internet: espsw@compuserve.com
We try to respond to all e-mail quickly, but please be patient... sometimes we get lots of mail!
---------------Fictitious sample filled in, replace with real information ---------------
BSM version: 1.2-MacOS
Name: Sergei Prokofiev
E-mail: NeverCryWolf@neoclassical.sr
Date: 1/6/1998
Computer Model: PowerPC 8500/120
MacOS: US System 8.0
Memory: 32 MB, Virtual Memory: off/on/RAM Doubler
Monitor size/depth: 800x600, millions of colors
QuickTime version: 2.5
Weird extensions: SpeedDoubler, SoftwareFPU, After Dark 4.0
Describe Problems:
1. If I add 2 blobs, then put my finger over the DELETE key and sneeze, the component gets deleted, and I'm sure I didn't press the key.
Legaleze
This package is copyrighted freeware, and all rights are reserved by the respective authors, Alfonso Hermida, Steve Anger, and Eduard Schwan. No portion of this package may be redistributed or republished in whole or part in any form without prior consent of the authors, Eduard Schwan and Alfonso Hermida. It may be uploaded as-is, with all documentation and examples together, to the internet and to BBSes without such consent. However, it may not be included in disk/CD-ROM collections or distributed in magazines without prior consent from above authors.
Muchas Gracias!
I would like to thank Alfonso Hermida for contributing his code for me to rework into a Macintosh application, Chris Petersen, Diego Krota, David Argemi, Dahlia Schwartz, and many others for beta-testing the bugs out of my work, and Lorrie, Sara, and Bryon Schwan for helping me produce it.
Who do you call?
If you have any comments, questions, concerns, etc., regarding the Mac OS version, please send us e-mail. You can send it to our CompuServe account at: espsw@compuserve.com
which we usually check every day.
Also, if you want to find the latest version of Blob Sculptor MacOS (or our other products) visit our web page at:
<http://ourworld.compuserve.com/homepages/espsw>
The freeware POV-Ray Mac OS ray tracer mentioned above can be found at: